package com.xcf.service.business.common.boxtypeManage.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xcf.dao.DaoSupport;
import com.xcf.service.business.common.boxtypeManage.BoxTypeManageService;
import com.xcf.util.PageData;
@Service
public class BoxTypeManageServiceImpl implements BoxTypeManageService{
	@Resource(name="daoSupport")
	private DaoSupport dao;
	@Override
	public List<PageData> findBoxTypeManageInfo(PageData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<PageData>) dao.findForList("boxTypeManage.findBoxTypeManage", pd);
	}

	@Override
	public void saveBoxTypeManageInfo(PageData pd) throws Exception {
		dao.save("boxTypeManage.saveBoxTypeManage", pd);
		
	}

	@Override
	public void updateBoxTypeManageInfo(PageData pd) throws Exception {
		dao.update("boxTypeManage.updateBoxTypeManage", pd);
		
	}

	@Override
	public void deleteBoxTypeManageInfo(PageData pd) throws Exception {
		dao.delete("boxTypeManage.deleteBoxTypeManage", pd);		
	}

}
